package com.yiren.dbaa.module.practice_set.site.contract;

import com.yiren.dbaa.currency.api.CommonCallBack;

/**
 * @author lwb
 * @date : 2022/10/17 8:49
 * @description: 已公开考规契约
 */
public interface OpenSiteRuleContract {

    interface Presenter {
        /**
         * 加载已公开考规列表
         * @return
         */
        void loadOpenSiteRule(CommonCallBack callBack);

        /**
         * 设置考场规则启用和停用状态
         */
        void setSiteRuleState(int state,String userId,double rulver,String siteCode,CommonCallBack callBack);

    }

    interface Model {

        /**
         * 更改某考规开放状态
         */
        void changeSiteRuleState(int state,String userId,double rulver,String siteCode,CommonCallBack callBack);

    }

    interface View {

    }


}
